home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib6
/
v_08_01
/
8n01088a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
213 b
|
12 lines
*** Listing 1 ***
/*
* write the definition for size_t
*/
#include <stdio.h>
main()
{
printf("typedef unsigned%s size_t;\n",
sizeof(sizeof(int)) == sizeof(int) ? "" : " long");
}